package com.itmg.dao.bean;

import java.sql.Timestamp;
import java.util.List;

import com.itmg.dao.model.BrandModel;
import com.itmg.vo.SearchResultItemVO;

public class ConditionBean {
	
	private Integer id;
	private String keywords;
	private String category;
	private String sort;
	private String productMd5;
	private Integer start;
	private Integer end;
	private Integer minPrice;
	private Integer maxPrice;
	private BrandModel brandModel;
	private List<SearchResultItemVO> searchResultItemList;
	private Integer total;
	private Timestamp create_time;
	
	public ConditionBean(){
		
	}
	
	public ConditionBean(String keywords,String category,String productMd5){
		this.keywords = keywords;
		this.category = category;
		this.productMd5 = productMd5;
	}
	
	public ConditionBean(String productMd5,Integer minPrice,Integer maxPrice){
		this.productMd5 = productMd5;
		this.minPrice = minPrice;
		this.maxPrice = maxPrice;
	}
	
	public ConditionBean(String keywords,String category,String productMd5,
			Integer start,Integer end,String sort,Integer minPrice,Integer maxPrice){
		this.keywords = keywords;
		this.category = category;
		this.productMd5 = productMd5;
		this.start = start;
		this.end = end;
		this.sort = sort;
		this.minPrice = minPrice;
		this.maxPrice = maxPrice;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getProductMd5() {
		return productMd5;
	}
	public void setProductMd5(String productMd5) {
		this.productMd5 = productMd5;
	}
	public Integer getStart() {
		return start;
	}
	public void setStart(Integer start) {
		this.start = start;
	}
	public Integer getEnd() {
		return end;
	}
	public void setEnd(Integer end) {
		this.end = end;
	}
	public BrandModel getBrandModel() {
		return brandModel;
	}
	public void setBrandModel(BrandModel brandModel) {
		this.brandModel = brandModel;
	}
	public List<SearchResultItemVO> getSearchResultItemList() {
		return searchResultItemList;
	}
	public void setSearchResultItemList(
			List<SearchResultItemVO> searchResultItemList) {
		this.searchResultItemList = searchResultItemList;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public Integer getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(Integer minPrice) {
		this.minPrice = minPrice;
	}

	public Integer getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(Integer maxPrice) {
		this.maxPrice = maxPrice;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Timestamp getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
}
